use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let list: Vec<&str> = input_str.split(",").collect();
    let mut set = HashSet::new();
    for s in list {
        let _ = set.insert(s);
    }
    return set.len();
}
